﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Eg.Core
{
    public class Users
    {
        public virtual int UserId { set; get; }
        public virtual string UserName { set; get; }
        public virtual string Password { set; get; }
        public virtual DateTime CreateTime { set; get; }
        public virtual UserDetail Detail { set; get; }
    }

    public class UserDetail
    {
        public virtual Users Users { set; get; }
        public virtual int UserId { set; get; }
        public virtual DateTime LastUpdate { set; get; }
        public virtual PersonName Name { set; get; }
    }

    public class PersonName
    {
        public virtual string FirstName { set; get; }
        public virtual string LastName { set; get; }

    }
}
